// 暂定topbar 为44rpx
$baseTopHeight: 88rpx;
// 统一padding
$basePadding: 35rpx;
// 版心
$baseCenterWidth: 680rpx;
// 字体颜色 
$baseFontColor: #DFDFDF;
// 字体颜色2
$baseFontColor2: #FBC34A;
// 背景色
$baseBgColor: #23262D;
// 次级背景色
$baseBgLightColor: #33363D;
// 渐变色 
@mixin changeColor(){
  background:linear-gradient(150deg,rgba(242,91,134,1) 0%,rgba(241,172,94,1) 100%);
}

.top-bar {
  position: fixed;
  display: flex;
  width: 100%;
  left: 0;
  top: 0;
  justify-content: space-between;
  // height: $baseTopHeight;
  align-items: center;
  box-sizing: border-box;
  padding: 17rpx;
  color: $baseFontColor;
  background: $baseBgLightColor;
  z-index: 1999;

  .city-area {
    display: flex;
    align-items: center;
    height: 72rpx;
    padding: 0 8rpx;
    font-size: 28rpx;

    .icon.icon-arr-down {
      width: 24rpx;
      height: 12rpx;
      margin: auto 12rpx;
    }
  }

  .city-area {
    display: flex;
    align-items: center;
    height: 72rpx;
    padding: 0 8rpx;

    .icon.icon-arr-down {
      width: 24rpx;
      height: 12rpx;
      margin: auto 8rpx;
    }
  }

  .center {
    width: 328rpx;
    height: 50rpx;
    border: 2rpx solid transparent;
    background-image: linear-gradient(314deg, rgba(241, 158, 101, 1), rgba(242, 105, 127, 1));
    border-radius: 12rpx;
    display: flex;
    align-items: center;
    view {
      width: 50%;
      height: 100%;
      font-size: 28rpx;
      font-family: PingFangSC-Medium;
      text-align: center;
      font-weight: 500;
      background-color: $baseBgColor;
      color: rgba(150, 147, 147, 1);
      display: flex;
      align-items: center;
      justify-content: center;
      &:first-child {
        border-radius: 12rpx 0 0 12rpx;
      }

      &:last-child {
        border-radius: 0 12rpx 12rpx 0;
      }

      &.act {
        color: rgba(245, 245, 245, 1);
        background: linear-gradient(150deg, rgba(242, 91, 134, 1) 0%, rgba(241, 172, 94, 1) 100%);
      }
    }
  }

  .date-area {
    width: 72rpx;
    height: 72rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    .icon {
      width: 34rpx;
      height: 34rpx;
    }
  }

  
}
.m-content {
  padding-top: 106rpx;
  border: 1px solid transparent;
  .movie-list {
    position: relative;
    width: $baseCenterWidth;
    height: 146px;
    margin: 25px auto;
    background-color: $baseBgLightColor;
    box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.04);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    .poster {
      position: relative;
      .play{
        position: absolute;
        top: 50%;
        left: 50%;
        width: 76rpx;
        height: 76rpx;
        margin-top: -38rpx;
        margin-left: -38rpx;
      }
      image {
        width: 105px;
        height: 156px;
        transform: translateY(-10px);
        border-radius: 6px;
      }

     
    }

    .information {
      width: 222px;
      height: 100%;
      box-sizing: border-box;
      padding-top: 15px;  
      font-family: PingFangSC-Medium;
      color: #dfdfdf;
      view {
        text-align: left;
      }

      .title {
        font-size: 16px;
        font-family: PingFangSC-Medium;
        font-weight: 500;
        color: rgba(255, 255, 255, 1);
        line-height: 16px;
      }

      .intro {
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 14px;
        font-family: PingFangSC-Medium;
        font-weight: 500;
        line-height: 21px;
        display: flex;
        align-items: center;
        .span {
          font-size: 15px;
          color: #FBC34A;
        }

        .rate {
          view {
            margin-left: 2px;
          }
        }

        .want {
          view {
            margin-right: 2px;
          }
        }
      }

      .info {
        font-size: 12px;
        font-family: PingFangSC-Regular;
        font-weight: 400;
        line-height: 16px;
      }

      .describe {
        margin-top: 10px;
        font-size: 12px;

        view {
          width: 48px;
          height: 17px;
          border-radius: 3px;
          margin-left: 6px;

          &:first-child {
            margin-left: 0;
          }

          &.today {
            color: #FBC34A;
            border: 1px solid rgba(251, 195, 74, 1)
          }

          &.week {
            color: #F26C7E;
            border: 1px solid rgba(242, 108, 126, 1);
          }

          &.optimal {
            color: #3C4CAC;
            border: 1px solid rgba(60, 76, 172, 1);
          }
        }
      }
    }

    .btn {
      position: absolute;
      top: 66px;
      right: 14px;
      width: 54px;
      height: 25px;
      background: linear-gradient(150deg, rgba(242, 91, 134, 1) 0%, rgba(241, 172, 94, 1) 100%);
      box-shadow: 0px 0px 4px 1px rgba(242, 109, 125, 0.18);
      border-radius: 6px;
      color: #dfdfdf;
      display: flex;
      align-items: center;
      justify-content: center;
      &.will {
        background: linear-gradient(150deg, rgba(98, 75, 163, 1) 0%, rgba(203, 68, 152, 1) 100%);
        box-shadow: 0px 0px 4px 1px rgba(242, 109, 125, 0.18);
      }
    }
  }

  // 即将上映的电影页的样式
  .will-title {
    margin-top: 30px;
    font-size: 18px;
    font-family: PingFangSC-Medium;
    font-weight: 500;
    color: $baseFontColor;
    text-align: left;
    padding-left: 20px;
    line-height: 18px;
  }

  .trailer {
    margin-top: 20px;
    height: 185px;

    .trailer-swiper {
      height: 100%;

      .swiper-slide {
        position: relative;
        height: 100%;

        view {
          margin-left: 20px;
          width: 318px;

          img {
            width: 100%;
            height: 100%;
          }

          .t-title {
            position: absolute;
            bottom: 11px;
            left: 9px;
            width: 85%;
            font-size: 14px;
          }

          .t-time {
            position: absolute;
            bottom: 14px;
            right: 5px;
            font-size: 12px;
          }
        }
      }
    }
  }

  .plan {
    .date-wrap {
      margin-top: 11px;

      .date-list {
        .date-item {
          width: 86px;
          height: 30px;
          margin-left: 16px;
          font-size: 14px;
          font-family: PingFangSC-Regular;
          font-weight: 400;
          color: rgba(150, 147, 147, 1);
          border-radius: 15px;
          border: 2px solid rgba(151, 151, 151, 1);

          &.act {
            color: $baseFontColor;
            background: linear-gradient(150deg, rgba(242, 91, 134, 1) 0%, rgba(241, 172, 94, 1) 100%);
            box-shadow: 0px 0px 10px 0px rgba(242, 109, 125, 0.4);
            border-color: transparent;
          }
        }
      }
    }
  }
}
.sBox{
  height: 100%;
  position: relative;
  overflow: hidden;
  padding-left: 40px;
  font-size: 28px;
  color: #DFDFDF;
  .t-title {
    position: absolute;
    bottom: 11px;
    left: 49px;
    width: 85%;
    font-size: 14px;
  }

  .t-time {
    position: absolute;
    bottom: 14px;
    right: 5px;
    font-size: 12px;
  }
}
.plan {
  
  .date-wrap {
    margin-top: 11px;
    
    .fx{
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .date-list {
      .imgs{
        width: 90%;
      }
      
      .date-item {
        width: 86px;
        height: 30px;
        margin-left: 16px;
        font-size: 14px;
        font-family: PingFangSC-Regular;
        font-weight: 400;
        color: rgba(150, 147, 147, 1);
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid rgba(151, 151, 151, 1);

        &.act {
          color: $baseFontColor;
          background: linear-gradient(150deg, rgba(242, 91, 134, 1) 0%, rgba(241, 172, 94, 1) 100%);
          box-shadow: 0px 0px 10px 0px rgba(242, 109, 125, 0.4);
          border-color: transparent;
        }
      }
    }
  }
}